package com.csis.system.domain;

import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_DISCOUNT;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_PRODUCTCOLOR;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_PRODUCTCOUNT;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_PRODUCTID;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_PRODUCTPRICE;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_PRODUCTSIZE;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_STOCKDATE;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_STOCKNO;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_STOCKNOTE;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_STOCKSTATUS;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_SUPPLIERID;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_TOTAL;
import static com.csis.system.common.IStaticData.COLUMN_STOCKLIST_USERID;
import static com.csis.system.common.IStaticData.TABLE_STOCKLIST;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = TABLE_STOCKLIST)
public class Stocklist {
	@Id
	@Column(name = COLUMN_STOCKLIST_STOCKNO)
	private java.lang.String id = null;
	@Column(name = COLUMN_STOCKLIST_USERID)
	private java.lang.Integer userId = null;
	@Column(name = COLUMN_STOCKLIST_STOCKDATE)
	private java.util.Date stockDate = null;
	@Column(name = COLUMN_STOCKLIST_SUPPLIERID)
	private java.lang.Integer supplierId = null;
	@Column(name = COLUMN_STOCKLIST_PRODUCTID)
	private java.lang.Integer productId = null;
	@Column(name = COLUMN_STOCKLIST_PRODUCTCOUNT)
	private java.lang.Integer productCount = null;
	@Column(name = COLUMN_STOCKLIST_PRODUCTCOLOR)
	private java.lang.String productColor = null;
	@Column(name = COLUMN_STOCKLIST_PRODUCTSIZE)
	private java.lang.String productSize = null;
	@Column(name = COLUMN_STOCKLIST_PRODUCTPRICE)
	private java.lang.Float productPrice = null;
	@Column(name = COLUMN_STOCKLIST_DISCOUNT)
	private java.lang.Float discount = null;
	@Column(name = COLUMN_STOCKLIST_TOTAL)
	private java.lang.Float total = null;
	@Column(name = COLUMN_STOCKLIST_STOCKSTATUS)
	private java.lang.Integer stockStatus = null;
	@Column(name = COLUMN_STOCKLIST_STOCKNOTE)
	private java.lang.String stockNote = null;

	@Transient
	private User user;
	@Transient
	private Product product;
	@Transient
	private Supplier supplier;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Supplier getSupplier() {
		return supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	public java.lang.String getId() {
		return id;
	}

	public void setId(java.lang.String id) {
		this.id = id;
	}

	public java.lang.Integer getUserId() {
		return userId;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.util.Date getStockDate() {
		return stockDate;
	}

	public void setStockDate(java.util.Date stockDate) {
		this.stockDate = stockDate;
	}

	public java.lang.Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(java.lang.Integer supplierId) {
		this.supplierId = supplierId;
	}

	public java.lang.Integer getProductId() {
		return productId;
	}

	public void setProductId(java.lang.Integer productId) {
		this.productId = productId;
	}

	public java.lang.Integer getProductCount() {
		return productCount;
	}

	public void setProductCount(java.lang.Integer productCount) {
		this.productCount = productCount;
	}

	public java.lang.String getProductColor() {
		return productColor;
	}

	public void setProductColor(java.lang.String productColor) {
		this.productColor = productColor;
	}

	public java.lang.String getProductSize() {
		return productSize;
	}

	public void setProductSize(java.lang.String productSize) {
		this.productSize = productSize;
	}

	public java.lang.Float getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(java.lang.Float productPrice) {
		this.productPrice = productPrice;
	}

	public java.lang.Float getDiscount() {
		return discount;
	}

	public void setDiscount(java.lang.Float discount) {
		this.discount = discount;
	}

	public java.lang.Float getTotal() {
		return total;
	}

	public void setTotal(java.lang.Float total) {
		this.total = total;
	}

	public java.lang.Integer getStockStatus() {
		return stockStatus;
	}

	public void setStockStatus(java.lang.Integer stockStatus) {
		this.stockStatus = stockStatus;
	}

	public java.lang.String getStockNote() {
		return stockNote;
	}

	public void setStockNote(java.lang.String stockNote) {
		this.stockNote = stockNote;
	}

}
